Skip to content

Comments

Tmp merge aa base#24

Closed
lcwangchao wants to merge 6860 commits intomasterfrom
tmp_merge_aa_base
Closed

Tmp merge aa base#24
lcwangchao wants to merge 6860 commits intomasterfrom
tmp_merge_aa_base

Conversation

@lcwangchao
Copy link
Owner

@lcwangchao lcwangchao commented Feb 6, 2026

What problem does this PR solve?

Issue Number: close #xxx

Problem Summary:

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

Note

Medium Risk
CI/build pipeline behavior changes (Bazel upgrade, workflow trigger/matrix updates, and disabling Codecov checks) can affect build stability and signal quality, though runtime product code is untouched.

Overview
Updates Bazel tooling by bumping .bazelversion to 7.7.1 and tuning .bazelrc for more resilient remote/HTTP behavior (timeouts, retries), more detailed test output, flaky retries, and proxy env passthrough.

Reworks Codecov config to disable project/patch status checks and GitHub checks, adds component/flag management metadata, and expands ignore patterns.

Refreshes GitHub automation and repo metadata: adds a reusable tidb_build composite action plus a new Bazel crossbuild workflow, broadens BR/Lightning compile workflows (adds manual dispatch, Windows matrix, newer actions/* versions, and MySQL matrix updates for dumpling), and updates templates/contact links plus various hygiene configs (.gitignore, .dockerignore, .gitattributes, licenser ignore list, and moves the enterprise extension submodule path to pkg/extension/enterprise).

Written by Cursor Bugbot for commit 6ff1adf. This will update automatically on new commits. Configure here.

wjhuang2016 and others added 30 commits December 20, 2025 16:03
wjhuang2016 and others added 28 commits January 30, 2026 11:49
@lcwangchao lcwangchao closed this Feb 6, 2026
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 4 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

bazelisk-cache: true
repository-cache: true
external-cache: false
disk-cache: ${{ github.workflow }}}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra closing brace in disk-cache key value

Medium Severity

The disk-cache value ${{ github.workflow }}} has three closing braces instead of two. The GitHub Actions expression ${{ ... }} ends at the second }, leaving a literal } appended to the workflow name. This means the disk cache path will include a trailing } character (e.g., "Bazel Crossbuild}"), causing cache misses against any other configuration expecting the clean workflow name.

Fix in Cursor Fix in Web

- "pkg/store/mockstore/unistore/testutil.go"
- "k8s.io/apimachinery/pkg"
- "build"
- "lighting/cmd"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo "lighting" instead of "lightning" in ignore path

Low Severity

The codecov ignore path "lighting/cmd" is misspelled — the actual directory is lightning/cmd. This means codecov will not ignore the intended lightning/cmd directory, and coverage reports will include files from that path that were meant to be excluded.

Fix in Cursor Fix in Web

*.result diff

util/collate/unicode_0*_ci.go linguist-generated=true
util/collate/ucadata/unicode_*_data.go linguist-generated=true
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitattributes linguist patterns have wrong directory prefix

Low Severity

The linguist-generated patterns use paths util/collate/... but the actual files live under pkg/util/collate/.... There is no util/collate/ directory at the repo root. Additionally, the glob unicode_0*_ci.go wouldn't match the actual generated filenames like unicode_0400_ci_generated.go (which end in _ci_generated.go, not _ci.go). Similarly, unicode_*_data.go won't match unicode_0900_ai_ci_data_generated.go. These patterns will silently match nothing.

Fix in Cursor Fix in Web

@@ -1,10 +1,8 @@
.git/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing .git/ in dockerignore bloats Docker builds

Medium Severity

The .git/ entry was removed from .dockerignore, but the Dockerfile uses COPY . . to copy the entire working directory into the builder image. Without .git/ being ignored, the entire git history (potentially hundreds of megabytes) gets sent as Docker build context and copied into the builder layer, significantly slowing down every Docker build. This also risks leaking repository metadata into the build environment.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.